/**
 * Copyright (c) Jan 16, 2013 10:16:04 AM WKM and/or its affiliates. 
 * Use is subject to license terms.
 * All rights reserved.
 */
package org.extblog.wkm.web.dao;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.jdbc.core.JdbcTemplate;

/**
 * @author WKM
 * AbstractDao.java history
 * 1.WKM - Jan 16, 2013 - Create File
 */
public abstract class AbstractDao {
	/** jdbc **/
	private JdbcTemplate template = null;
	
	/** 日志输出 **/
	protected Logger log = LoggerFactory.getLogger(getClass());

	public JdbcTemplate getTemplate() {
		return template;
	}
	@Resource
	public void setTemplate(JdbcTemplate template) {
		this.template = template;
	}
}
